package com.mvc.core;

import java.util.Map;

/**
 * 视图模型组件
 * @author david
 *
 */
public class ModelAndView {

	private String url;
	private Map<String, Object> map;
	
	public ModelAndView(String url) {
		super();
		this.url = url;
	}
	public ModelAndView(String url, Map<String, Object> map) {
		super();
		this.url = url;
		this.map = map;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Map<String, Object> getMap() {
		return map;
	}
	public void setMap(Map<String, Object> map) {
		this.map = map;
	}
	
	
}
